<?php 
/*********************************************************************************
 * This file is part of KReporter. KReporter is an enhancement developed 
 * by KINAMU Business Solutions AG. All rights ar (c) 2010 by KINAMU Business
 * Solutions AG.
 *
 * KReporter is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * KReporter is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with KReporter.  If not, see <http://www.gnu.org/licenses/>.
 * 
 * You can contact KINAMU Business Solutions AG at Am Concordepark 2/F12
 * A-2320 Schwechat or via email at office@kinamu.com
 * 
 * The interactive user interfaces in modified source and object code versions
 * of this program must display Appropriate Legal Notices, as required under
 * Section 5 of the GNU General Public License version 3.
 * 
 * In accordance with Section 7(b) of the GNU General Public License version 3,
 * these Appropriate Legal Notices must retain the Name KINAMU in the Name
 * of the Module which needs to be visible to the User.
 * 
 ********************************************************************************/
$dictionary['KReportSnapshots'] = array(
	'table' => 'kreportsnapshots',
    'fields' => array (
	   'id' => array(
	          'name' => 'id', 
	          'type' => 'id',
	   ),
	   'report_id' => array(
	   		'name' => 'report_id',
	        'type' => 'id',
	   ),
	   'snapshotdate' => array(
	   		'name' => 'snapshotdate',
	        'type' => 'date',
	   ),

   	),
   	'indices' => array (
	),
);

$dictionary['KReportSnapshotsData'] = array(
	'table' => 'kreportsnapshotsdata',
    'fields' => array (

	   'snapshot_id' => array(
	   		'name' => 'snapshot_id',
	        'type' => 'id',
	   ),
	   'record_id' => array(
	   		'name' => 'record_id', 
	   		'type' => 'double',
	   ),
	   'data' => array(
	   		'name' => 'data',
	        'type' => 'blob',
	   ),
   	),
   	'indices' => array (
	      array('name' =>'snapshot_data', 'type' =>'primary', 'fields'=>array('snapshot_id'))
	),
);
?>